	<?
	$max=100;
	$m=intval($_POST['max']);
	if($m>0)
		$max = $m;
	?>
	<h2><table border='0'><tr valign='top'><th>Last</th><th><form method='post' action = "<? echo $_SERVER['PHP_SELF']; ?>" onSubmit="return false;">
	<select name="max" onchange="this.form.submit();">
	<option value="50" <? if ($max == 50) echo " selected "; ?>>50
	<option value="100" <? if ($max == 100) echo " selected "; ?>>100
	<option value="150" <? if ($max == 150) echo " selected "; ?>>150
	<option value="200" <? if ($max == 200) echo " selected "; ?>>200
	<option value="250" <? if ($max == 250) echo " selected "; ?>>250
	<option value="300" <? if ($max == 300) echo " selected "; ?>>300
	<option value="350" <? if ($max == 350) echo " selected "; ?>>350
	<option value="400" <? if ($max == 400) echo " selected "; ?>>400
	<option value="450" <? if ($max == 450) echo " selected "; ?>>450
	<option value="500" <? if ($max == 500) echo " selected "; ?>>500
	<option value="999999" <? if ($max == 999999) echo " selected "; ?>>all

	</select></th><th>trade actions: <input type="submit" name = 'submit_' value = 'reload'></th></tr></table></h2>
